package beans.autowire;

import beans.lifecycle.ITarget;
import cn.stimd.spring.beans.factory.annotation.Autowired;

/**
 * Created by Stimd
 * 项目地址：https://gitee.com/stimd/spring-wheel
 * 公众号：Java编程探微
 */
public class TargetA implements ITarget {
    @Autowired
    private ITarget targetB;

    @Override
    public void handle() {
        System.out.println("targetB的实际类型：" + targetB.getClass().getName());
    }
}
